Optimal. Leaf size=136 \[ -\frac {d \sqrt {c+d x}}{4 b^2 (a+b x)^2}-\frac {d^2 \sqrt {c+d x}}{8 b^2 (b c-a d) (a+b x)}-\frac {(c+d x)^{3/2}}{3 b (a+b x)^3}+\frac {d^3 \tanh ^{-1}\left (\frac {\sqrt {b} \sqrt {c+d x}}{\sqrt {b c-a d}}\right )}{8 b^{5/2} (b c-a d)^{3/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.04, antiderivative size = 136, normalized size of antiderivative = 1.00, number of steps
used = 5, number of rules used = 4, integrand size = 17, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.235, Rules used = {43, 44, 65, 214}
\begin {gather*} \frac {d^3 \tanh ^{-1}\left (\frac {\sqrt {b} \sqrt {c+d x}}{\sqrt {b c-a d}}\right )}{8 b^{5/2} (b c-a d)^{3/2}}-\frac {d^2 \sqrt {c+d x}}{8 b^2 (a+b x) (b c-a d)}-\frac {d \sqrt {c+d x}}{4 b^2 (a+b x)^2}-\frac {(c+d x)^{3/2}}{3 b (a+b x)^3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 43
Rule 44
Rule 65
Rule 214
Rubi steps
\begin {align*} \int \frac {(c+d x)^{3/2}}{(a+b x)^4} \, dx &=-\frac {(c+d x)^{3/2}}{3 b (a+b x)^3}+\frac {d \int \frac {\sqrt {c+d x}}{(a+b x)^3} \, dx}{2 b}\\ &=-\frac {d \sqrt {c+d x}}{4 b^2 (a+b x)^2}-\frac {(c+d x)^{3/2}}{3 b (a+b x)^3}+\frac {d^2 \int \frac {1}{(a+b x)^2 \sqrt {c+d x}} \, dx}{8 b^2}\\ &=-\frac {d \sqrt {c+d x}}{4 b^2 (a+b x)^2}-\frac {d^2 \sqrt {c+d x}}{8 b^2 (b c-a d) (a+b x)}-\frac {(c+d x)^{3/2}}{3 b (a+b x)^3}-\frac {d^3 \int \frac {1}{(a+b x) \sqrt {c+d x}} \, dx}{16 b^2 (b c-a d)}\\ &=-\frac {d \sqrt {c+d x}}{4 b^2 (a+b x)^2}-\frac {d^2 \sqrt {c+d x}}{8 b^2 (b c-a d) (a+b x)}-\frac {(c+d x)^{3/2}}{3 b (a+b x)^3}-\frac {d^2 \text {Subst}\left (\int \frac {1}{a-\frac {b c}{d}+\frac {b x^2}{d}} \, dx,x,\sqrt {c+d x}\right )}{8 b^2 (b c-a d)}\\ &=-\frac {d \sqrt {c+d x}}{4 b^2 (a+b x)^2}-\frac {d^2 \sqrt {c+d x}}{8 b^2 (b c-a d) (a+b x)}-\frac {(c+d x)^{3/2}}{3 b (a+b x)^3}+\frac {d^3 \tanh ^{-1}\left (\frac {\sqrt {b} \sqrt {c+d x}}{\sqrt {b c-a d}}\right )}{8 b^{5/2} (b c-a d)^{3/2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.59, size = 129, normalized size = 0.95 \begin {gather*} \frac {\sqrt {c+d x} \left (-3 a^2 d^2-2 a b d (c+4 d x)+b^2 \left (8 c^2+14 c d x+3 d^2 x^2\right )\right )}{24 b^2 (-b c+a d) (a+b x)^3}+\frac {d^3 \tan ^{-1}\left (\frac {\sqrt {b} \sqrt {c+d x}}{\sqrt {-b c+a d}}\right )}{8 b^{5/2} (-b c+a d)^{3/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.16, size = 126, normalized size = 0.93
method | result | size |
derivativedivides | \(2 d^{3} \left (\frac {\frac {\left (d x +c \right )^{\frac {5}{2}}}{16 a d -16 b c}-\frac {\left (d x +c \right )^{\frac {3}{2}}}{6 b}-\frac {\left (a d -b c \right ) \sqrt {d x +c}}{16 b^{2}}}{\left (\left (d x +c \right ) b +a d -b c \right )^{3}}+\frac {\arctan \left (\frac {b \sqrt {d x +c}}{\sqrt {\left (a d -b c \right ) b}}\right )}{16 \left (a d -b c \right ) b^{2} \sqrt {\left (a d -b c \right ) b}}\right )\) | \(126\) |
default | \(2 d^{3} \left (\frac {\frac {\left (d x +c \right )^{\frac {5}{2}}}{16 a d -16 b c}-\frac {\left (d x +c \right )^{\frac {3}{2}}}{6 b}-\frac {\left (a d -b c \right ) \sqrt {d x +c}}{16 b^{2}}}{\left (\left (d x +c \right ) b +a d -b c \right )^{3}}+\frac {\arctan \left (\frac {b \sqrt {d x +c}}{\sqrt {\left (a d -b c \right ) b}}\right )}{16 \left (a d -b c \right ) b^{2} \sqrt {\left (a d -b c \right ) b}}\right )\) | \(126\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: ValueError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 326 vs.
\(2 (112) = 224\).
time = 0.49, size = 666, normalized size = 4.90 \begin {gather*} \left [-\frac {3 \, {\left (b^{3} d^{3} x^{3} + 3 \, a b^{2} d^{3} x^{2} + 3 \, a^{2} b d^{3} x + a^{3} d^{3}\right )} \sqrt {b^{2} c - a b d} \log \left (\frac {b d x + 2 \, b c - a d - 2 \, \sqrt {b^{2} c - a b d} \sqrt {d x + c}}{b x + a}\right ) + 2 \, {\left (8 \, b^{4} c^{3} - 10 \, a b^{3} c^{2} d - a^{2} b^{2} c d^{2} + 3 \, a^{3} b d^{3} + 3 \, {\left (b^{4} c d^{2} - a b^{3} d^{3}\right )} x^{2} + 2 \, {\left (7 \, b^{4} c^{2} d - 11 \, a b^{3} c d^{2} + 4 \, a^{2} b^{2} d^{3}\right )} x\right )} \sqrt {d x + c}}{48 \, {\left (a^{3} b^{5} c^{2} - 2 \, a^{4} b^{4} c d + a^{5} b^{3} d^{2} + {\left (b^{8} c^{2} - 2 \, a b^{7} c d + a^{2} b^{6} d^{2}\right )} x^{3} + 3 \, {\left (a b^{7} c^{2} - 2 \, a^{2} b^{6} c d + a^{3} b^{5} d^{2}\right )} x^{2} + 3 \, {\left (a^{2} b^{6} c^{2} - 2 \, a^{3} b^{5} c d + a^{4} b^{4} d^{2}\right )} x\right )}}, -\frac {3 \, {\left (b^{3} d^{3} x^{3} + 3 \, a b^{2} d^{3} x^{2} + 3 \, a^{2} b d^{3} x + a^{3} d^{3}\right )} \sqrt {-b^{2} c + a b d} \arctan \left (\frac {\sqrt {-b^{2} c + a b d} \sqrt {d x + c}}{b d x + b c}\right ) + {\left (8 \, b^{4} c^{3} - 10 \, a b^{3} c^{2} d - a^{2} b^{2} c d^{2} + 3 \, a^{3} b d^{3} + 3 \, {\left (b^{4} c d^{2} - a b^{3} d^{3}\right )} x^{2} + 2 \, {\left (7 \, b^{4} c^{2} d - 11 \, a b^{3} c d^{2} + 4 \, a^{2} b^{2} d^{3}\right )} x\right )} \sqrt {d x + c}}{24 \, {\left (a^{3} b^{5} c^{2} - 2 \, a^{4} b^{4} c d + a^{5} b^{3} d^{2} + {\left (b^{8} c^{2} - 2 \, a b^{7} c d + a^{2} b^{6} d^{2}\right )} x^{3} + 3 \, {\left (a b^{7} c^{2} - 2 \, a^{2} b^{6} c d + a^{3} b^{5} d^{2}\right )} x^{2} + 3 \, {\left (a^{2} b^{6} c^{2} - 2 \, a^{3} b^{5} c d + a^{4} b^{4} d^{2}\right )} x\right )}}\right ] \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 1.67, size = 185, normalized size = 1.36 \begin {gather*} -\frac {d^{3} \arctan \left (\frac {\sqrt {d x + c} b}{\sqrt {-b^{2} c + a b d}}\right )}{8 \, {\left (b^{3} c - a b^{2} d\right )} \sqrt {-b^{2} c + a b d}} - \frac {3 \, {\left (d x + c\right )}^{\frac {5}{2}} b^{2} d^{3} + 8 \, {\left (d x + c\right )}^{\frac {3}{2}} b^{2} c d^{3} - 3 \, \sqrt {d x + c} b^{2} c^{2} d^{3} - 8 \, {\left (d x + c\right )}^{\frac {3}{2}} a b d^{4} + 6 \, \sqrt {d x + c} a b c d^{4} - 3 \, \sqrt {d x + c} a^{2} d^{5}}{24 \, {\left (b^{3} c - a b^{2} d\right )} {\left ({\left (d x + c\right )} b - b c + a d\right )}^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.34, size = 209, normalized size = 1.54 \begin {gather*} \frac {d^3\,\mathrm {atan}\left (\frac {\sqrt {b}\,\sqrt {c+d\,x}}{\sqrt {a\,d-b\,c}}\right )}{8\,b^{5/2}\,{\left (a\,d-b\,c\right )}^{3/2}}-\frac {\frac {d^3\,{\left (c+d\,x\right )}^{3/2}}{3\,b}-\frac {d^3\,{\left (c+d\,x\right )}^{5/2}}{8\,\left (a\,d-b\,c\right )}+\frac {d^3\,\left (a\,d-b\,c\right )\,\sqrt {c+d\,x}}{8\,b^2}}{\left (c+d\,x\right )\,\left (3\,a^2\,b\,d^2-6\,a\,b^2\,c\,d+3\,b^3\,c^2\right )+b^3\,{\left (c+d\,x\right )}^3-\left (3\,b^3\,c-3\,a\,b^2\,d\right )\,{\left (c+d\,x\right )}^2+a^3\,d^3-b^3\,c^3+3\,a\,b^2\,c^2\,d-3\,a^2\,b\,c\,d^2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________